dhcp-forwarder: drop package
authorGeorge Sapkin <[email protected]>
Sun, 27 Apr 2025 13:28:28 +0000 (16:28 +0300)
committerJosef Schlehofer <[email protected]>
Tue, 23 Sep 2025 11:11:55 +0000 (13:11 +0200)
- unmaintained upstream
- drop confirmed by maintainer
- last local commit:
  commit: 4006865ae81b20b1793ae2a07db20235fefd2c71
  Author: Etienne Champetier <[email protected]>
  Date:   Tue, 29 Aug 2017 21:41:14 -0700

  treewide: run "make check FIXUP=1"

Link: https://github.com/openwrt/packages/pull/26400#issuecomment-2848168367
Signed-off-by: George Sapkin <[email protected]>
net/dhcp-forwarder/Makefile [deleted file]
net/dhcp-forwarder/files/dhcp-fwd.init [deleted file]

diff --git a/net/dhcp-forwarder/Makefile b/net/dhcp-forwarder/Makefile
deleted file mode 100644 (file)
index 8784753..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-#
-# Copyright (C) 2016 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-include $(TOPDIR)/rules.mk
-
-PKG_NAME:=dhcp-forwarder
-PKG_VERSION:=0.11
-PKG_RELEASE:=1
-
-PKG_SOURCE_URL:=@SAVANNAH/dhcp-fwd/
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_HASH:=6abf8e6a72ad01df90efba543c9a18c149b24d50d000e66ce55209780dc04cd5
-
-PKG_LICENSE:=GPL-2.0
-PKG_LICENSE_FILES:=COPYING
-
-PKG_MAINTAINER:=Scott K Logan <[email protected]>
-
-PKG_BUILD_PARALLEL:=1
-PKG_INSTALL:=1
-
-include $(INCLUDE_DIR)/package.mk
-
-define Package/dhcp-forwarder
-  SECTION:=net
-  CATEGORY:=Network
-  SUBMENU:=IP Addresses and Names
-  TITLE:=DHCP relay agent
-  URL:=http://www.nongnu.org/dhcp-fwd/
-  USERID:=dhcp-fwd=375:dhcp-fwd=375
-endef
-
-define Package/dhcp-forwarder/description
-  This program forwards DHCP messages between subnets with different sublayer
-  broadcast domains. It is similarly to the DHCP relay agent dhcrelay of ISC's
-  DHCP, but has the following features which are important for me:
-
-  - Runs as non-root in a chroot-jail
-  - Uses "normal" AF_INET sockets; this allows to uses packetfilters to filter
-    incoming messages.
-  - The DHCP agent IDs can be defined freely
-  - Has a small memory footprint when using dietlibc
-
-  It tries to be RFC 2131/2132 and 3046 compliant. Probably it works with BOOTP
-  (RFC 951) also, but since the handling of the giaddr field is described
-  misleading (see RFC 1542), there may occur problems.
-endef
-
-define Package/dhcp-forwarder/conffiles
-/etc/dhcp-fwd.conf
-endef
-
-CONFIGURE_ARGS += \
-       --disable-dietlibc \
-
-define Build/Compile
-       $(MAKE) -C $(PKG_BUILD_DIR) \
-         DESTDIR="$(PKG_INSTALL_DIR)" \
-         cfg_filename="/etc/dhcp-fwd.conf" \
-         all install
-endef
-
-define Package/dhcp-forwarder/install
-       $(INSTALL_DIR) $(1)/usr/bin $(1)/etc $(1)/etc/init.d
-       $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/dhcp-fwd $(1)/usr/bin/
-       $(INSTALL_CONF) $(PKG_BUILD_DIR)/contrib/dhcp-fwd.conf $(1)/etc/
-       $(INSTALL_BIN) ./files/dhcp-fwd.init $(1)/etc/init.d/dhcp-fwd
-endef
-
-$(eval $(call BuildPackage,dhcp-forwarder))
diff --git a/net/dhcp-forwarder/files/dhcp-fwd.init b/net/dhcp-forwarder/files/dhcp-fwd.init
deleted file mode 100644 (file)
index 0ad81eb..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/sh /etc/rc.common
-
-START=50
-USE_PROCD=1
-
-LOG_D=/var/log
-RUN_D=/var/run
-CHR_D=/var/lib/dhcp-fwd
-PID_F=$RUN_D/dhcp-fwd.pid
-
-start_service() {
-       [ -d $LOG_D ] || mkdir -p $LOG_D
-       [ -d $RUN_D ] || mkdir -p $RUN_D
-       [ -d $CHR_D ] || mkdir -p $CHR_D && chown dhcp-fwd:dhcp-fwd $CHR_D -R
-
-       procd_open_instance
-       procd_set_param command dhcp-fwd -n
-       procd_set_param respawn
-       procd_close_instance
-}
-
-service_triggers()
-{
-       procd_add_reload_trigger "dhcp"
-}